using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.HRM
{
    [DataContract]
    [Table("hrm_ps_employee_statuses")]
    public class PsEmployeeStatus
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        [DataMember, Display(Name = "EmpStatusId", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("emp_status_seq")]
        public int EmpStatusId { get; set; }

        [DataMember, Display(Name = "EmpStatusName", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("emp_status_name")]
        public string Name { get; set; }

        [DataMember, Display(Name = "Active", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("active")]
        public string Active { get; set; }

        [DataMember, Display(Name = "EmpStatusCode", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("emp_status_code")]
        public string Code { get; set; }

        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("record_status")]
        public string RecordStatus { get; set; }

        [DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("created_by")]
        public Nullable<int> CreatedBy { get; set; }

        [DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("created_when")]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

        [DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("updated_by")]
        public Nullable<int> UpdatedBy { get; set; }

        [DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.PsEmployeeStatusesResource))]
        [Column("updated_when")]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

    }
}
